computer graphics -1. Use GLUT primitives to draw a chocolate chip cookie. A) First create a chocolate chip using GLUT. First...
computer graphics -
1. Use GLUT primitives to draw a chocolate chip cookie.
A) First create a chocolate chip using GLUT. First use either glFrustrum() or glPerspective () so we get a nice 3-D view. Take GLUT solid sphere and apply the scaling linear-transformation as a model transformation (remember the transformation stack, flipped-to us but algebraically valid). That makes a flat cookie (color it RGB = < 203, 150, 82 > using the 0-255 integer scale).
B) Add chocolate chips (spheres) on the surface, so only the part of the upper hemispheres stick out. Chips need to be nice and chocolate colored (try
RGB = < 61, 24, 5 > using the 0-255 integer scale).
Staple source code and rendering and hand in.
13 years ago
20
- HCA 210 Overview of Health Care Workforce Matrix
- Composition APA paper on Business: employee theft; fraud;
- PSY 360 ENTIRE Course best guidance for students
- Log base 9 of 11=1.1 Log base 8 of 4 =0.6 ...
- Bus 599 assignment
- Sun Goes around the earth?
- Business Ethics assignment BUSN623. 5 Essay Questions (References in APA)
- Classic English Literature: For this analysis of Vikas Swarup's Q & A, consider the impact of Western culture on Ram. He dreams of eating at places such as McDonald's and Pizza Hut, and he practices "speaking Australian." Why is this important to him? Wha
- BUS599 :: MBA Integrative Project
- HRM 533 week 9 Discussion Questions